package model

//注意两个tag之间的逗号不能用空行，tag之间用空格隔开
type SignUpParam struct {
	UserName string `json:"username" binding:"required"`
	Passwd   string `json:"passwd" binding:"required"`
	Repasswd string `json:"re_password" binding:"required,eqfield=Passwd"`
}

//登录请求参数
type LoginParam struct {
	UserName string `json:"username" binding:"required"`
	Passwd   string `json:"passwd" binding:"required"`
}
